// 应用常量配置

export const PLAN_TYPES = {
  DAILY: 'daily',
  WEEKLY: 'weekly',
  MONTHLY: 'monthly',
  YEARLY: 'yearly',
};

export const PLAN_STATUS = {
  PENDING: 'pending',
  COMPLETED: 'completed',
  MIGRATED: 'migrated',
  CANCELLED: 'cancelled',
};

export const PRIORITY = {
  LOW: 'low',
  MEDIUM: 'medium',
  HIGH: 'high',
};

export const WEEK_START_DAY = {
  SUNDAY: 'sunday',
  MONDAY: 'monday',
};

export const THEME_MODE = {
  LIGHT: 'light',
  DARK: 'dark',
  AUTO: 'auto', // 跟随系统
  TIME: 'time', // 根据时间自动切换（6:00-18:00浅色，18:00-6:00深色）
};

export const SEASONS = {
  SPRING: 'spring', // 春季：3月-5月
  SUMMER: 'summer', // 夏季：6月-8月
  AUTUMN: 'autumn', // 秋季：9月-11月
  WINTER: 'winter', // 冬季：12月-2月
};

// 存储键名
export const STORAGE_KEYS = {
  PLANS: '@PlanFlow:plans',
  WEEKLY_PLANS: '@PlanFlow:weeklyPlans',
  MONTHLY_PLANS: '@PlanFlow:monthlyPlans',
  SETTINGS: '@PlanFlow:settings',
  STATISTICS: '@PlanFlow:statistics',
};

// 默认设置
export const DEFAULT_SETTINGS = {
  weekStartDay: WEEK_START_DAY.MONDAY,
  autoMigrate: true,
  enableNotifications: true,
  notificationTime: '08:00',
  theme: THEME_MODE.AUTO,
  language: 'zh',
  dataBackupEnabled: false,
};

// 日期格式
export const DATE_FORMAT = {
  DATE: 'YYYY-MM-DD',
  DATETIME: 'YYYY-MM-DD HH:mm:ss',
  TIME: 'HH:mm',
  MONTH: 'YYYY-MM',
};

